package com.bjsxt.chapter14_mediator;

/**
 * @ClassName Client
 * @Description 客户端
 * @Author 黑马程序员
 * @Date 15:52 2024/6/23
 * @Version 1.0
 **/
public class Client {

    public static void main(String[] args) {

        Mediator m = new President();

        Department development = new Development(m);
        Department facial = new Facial(m);
        Department market = new Market(m);

        development.outerAction();

        market.outerAction();

        facial.outerAction();
    }
}
